﻿namespace EyeOpen.Mapping.Validation
{
    using System.Collections.Generic;

    public class Validator
    {
        public Validator(string name)
        {
            this.Name = name;
        }

        public Validator(string name, IDictionary<string, object> parameters) : this(name)
        {            
            this.Parameters = parameters;
        }

        public string Name 
        { 
            get; 
            private set; 
        }

        public IDictionary<string, object> Parameters 
        { 
            get; 
            private set; 
        }
    }
}
